/*
 * CPageDataFactory.h
 *
 *  Created on: 2011-10-30
 *      Author: Administrator
 */

#ifndef PAGEDATAFACTORY_H_
#define PAGEDATAFACTORY_H_

#include <f32file.h>

#include "TaobaoPage.h"
#include "TaobaoListPage.h"

class CPageDataFactory
	{
public:
	static CTaobaoPage* DealDataToPage(const TDesC8& aData);
	static HBufC8* getSMSValidateUrl(const TDesC8& aData);
	static HBufC8* getSMSValidateUrl2(const TDesC8& aData);
	static HBufC8* getSucUrl(const TDesC8& aData);
	static HBufC8* getRedirectUrl(const TDesC8& aData);
	static CTaobaoPage* DealDataToGetSMSValidate(const TDesC8& aData);
	static HBufC* getSellerID(const TDesC8& aData);
	static CTaobaoListPage* DealSoldListDataToPage(const TDesC8& aData);
	static CTaobaoListPage* DealBoughtListDataToPage(const TDesC8& aData);
	
private:
	static CTabbaoOrder* DealOrder(const TDesC8& aData);
	};

#endif /* PAGEDATAFACTORY_H_ */
